package org.example.service;

import org.example.common.PageData;
import org.example.common.PageQuery;
import org.example.common.ResponseData;
import org.example.domain.UpdateInfo;
import org.example.domain.UserInfo;
import org.example.domain.UserQuery;


public interface IUserService {

    //ResponseData<Integer> demo(UserInfo userInfo);
    ResponseData<String> enRoll(UserInfo userInfo);
    boolean checkUser(String userName);

    ResponseData<PageData<UserInfo>> page(UserQuery userQuery);

    ResponseData<String> updateUser(UpdateInfo updateInfo);
}
